#if !defined(AFX_SETIPPORT_H__2C86791D_7B93_423B_9810_1DD36AEC6248__INCLUDED_)
#define AFX_SETIPPORT_H__2C86791D_7B93_423B_9810_1DD36AEC6248__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetIpPort.h : header file
//

typedef struct  _IP_INFO
{
	DWORD dIpAdd;
	unsigned short uiPort;
}IP_INFO;

/////////////////////////////////////////////////////////////////////////////
// CSetIpPort dialog

class CSetIpPort : public CDialog
{
// Construction
public:
	CSetIpPort(IP_INFO *ipInfo, CWnd* pParent = NULL);
// Dialog Data
	//{{AFX_DATA(CSetIpPort)
	enum { IDD = IDD_SET_IPPORT };
	CIPAddressCtrl	m_ipAddr;
	UINT	m_uiPort;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetIpPort)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetIpPort)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	IP_INFO *m_pIpInfo;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETIPPORT_H__2C86791D_7B93_423B_9810_1DD36AEC6248__INCLUDED_)
